Skip to content

Sanitize hex colors by prefixing missing # if necessary#47

Merged
hojberg merged 2 commits intohojberg:masterfrom
stha:patch-01
Jul 14, 2014
Merged

Sanitize hex colors by prefixing missing # if necessary#47
hojberg merged 2 commits intohojberg:masterfrom
stha:patch-01

Conversation

@stha
Copy link
Contributor

@stha stha commented Jul 8, 2014

By copy & pasting hex color values from photoshop or gimp it happend that the leading "#" missing in the css view. This patch fixes this issue by prefixing a "#" if not already there.

@hojberg
Copy link
Owner

hojberg commented Jul 13, 2014

Thanks - can you clean up the indention so that its 2spaces, then i'm happy to merge.

@stha
Copy link
Contributor Author

stha commented Jul 14, 2014

@hojberg Fixed it.

hojberg added a commit that referenced this pull request Jul 14, 2014
Sanitize hex colors by prefixing missing # if necessary
@hojberg hojberg merged commit 69e2492 into hojberg:master Jul 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants